package com.spzx.product.mapper;

import com.spzx.product.api.domain.vo.CategoryTreeVo;
import com.spzx.product.api.domain.vo.CategoryVo;
import com.spzx.product.domain.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 商品分类 Mapper 接口
 * </p>
 *
 * @author lee
 * @since 2024-07-13
 */
public interface CategoryMapper extends BaseMapper<Category> {

    List<CategoryVo> getOneCategory();

    List<CategoryTreeVo> selectAllCategory();
}
